<?php
class LiveVersionedMode extends DataExtension {
    /**
     * @param Controller $controller
     */
    public function contentcontrollerInit($controller) {
        LiveVersioned::choose_site_stage();
    }

    /**
     * @param Controller $controller
     */
    public function modelascontrollerInit($controller) {
        LiveVersioned::choose_site_stage();
    }
}
?>